package cn.edu.ctbu.finaltest.service.AdministratorService;



import cn.edu.ctbu.finaltest.domain.Administrator;
import cn.edu.ctbu.finaltest.vo.R;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface AdministratorService {
    List<Administrator> findAll();
    R<List<Administrator>> findRAll();

    R<List<Administrator>> findByRSex(String sex);

    Administrator findByAnoAndPassword(String Ano,String password);

    Administrator insert(Administrator administrator);
    Administrator update(Administrator administrator);
    void deleteId(Integer id);
    
}
